import service from "@/service.js";
// 获取歌曲信息
export function getMusicDetail(id) {
  return service({
    methods: "get",
    url: `/song/detail?ids=${id}`,
  });
}
// 获取歌词信息
export function musicLyric(id) {
  return service({
    methods: "get",
    url: `/lyric?id=${id}`,
  });
}
// 获取首页信息
export function getHomepage() {
  return service({
    methods: "get",
    url: `/homepage/block/page`,
  });
}
// 获取推荐歌单信息
export function getPlaylist(id) {
  return service({
    methods: "get",
    url: `/playlist/detail?id=${id}`,
  });
}
